Skip to contentSkip to conversation

New: 'shader translation failed: -4' with dolphin-emu ubershaders

Bug 101708 [email protected] 1 participant 5 messages Jul 6, 2017 – Sep 18, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101708

Bug ID: 101708
Summary: 'shader translation failed: -4' with dolphin-emu
ubershaders
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: ovariegata-/[email protected]
QA Contact: [email protected]

Created attachment 132481
--> https://bugs.freedesktop.org/attachment.cgi?id=132481&action=edit
Apitrace

When using the new ubershaders branch with dolphin-emu and nouveau it will print this error:

nvc0_program_translate:610 - shader translation failed: -4

I have attached an apitrace showing the issue.

Note:

The exclusive ubershaders perform poorly with nouveau while the hybrid shaders perform well. Also a later commit in the ubershaders branch will crash with nouveau as described here.

https://github.com/dolphin-emu/dolphin/pull/5702#issuecomment-313301072

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-101708-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 101708] 'shader translation failed: -4' with dolphin-emu ubershaders

https://bugs.freedesktop.org/show_bug.cgi?id=101708

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 132602
--> https://bugs.freedesktop.org/attachment.cgi?id=132602&action=edit
shader causing RA failure

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 101708] 'shader translation failed: -4' with dolphin-emu ubershaders

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101708

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #132602|0                           |1

is obsolete| |

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 132603
--> https://bugs.freedesktop.org/attachment.cgi?id=132603&action=edit
shader failing to compile

Er, nevermind that. That crash is caused by a bug in a local WIP patch I have (which is trying to fix spilling logic a bit).

Actually the shader that fails to compile is a simple-seeming geometry shader.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 101708] 'shader translation failed: -4' with dolphin-emu ubershaders

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101708

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Sent a patch to make this work on GK110+ (embarrassing bug that caused us to use fewer registers than were available).

However that doesn't fix it on fermi/kepler1.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 101708] 'shader translation failed: -4' with dolphin-emu ubershaders

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101708

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1137.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau